package enterprises

class Consumer {

    static constraints = {
		name(blank:false, minSize:3, unique:true)
    }
	
	static hasMany = [productions:Production]
	
	static belongsTo =  [typeConsumer:TypeConsumer]
	
	String name

	@Override
	public String toString() {
		name;	
	}	
	
}
